package com.hiof.servercommunication.background.job.listener;

/**
 * Created by IntelliJ IDEA.
 * User: manish
 * Date: 4/6/12
 * Time: 8:39 PM
 * To change this template use File | Settings | File Templates.
 */
public interface IAthletesLatestLocationReceiveListener extends IListener{
//    private static String DEBUG = "Debug: IAthletesLatestLocationReceiveListener";
//    @Override
//    public void onListen(Packet packet) {
//        AthleteLocationReceivePacket locationReceivePacket = (AthleteLocationReceivePacket) packet;
//        MoraService moraService = MoraService.getInstance();
//        int resultVal = moraService.updateAthleteLocationInfo(locationReceivePacket.getLat(), locationReceivePacket.getLng(),
//                locationReceivePacket.getHeight(), locationReceivePacket.getSpeed());
//        Utility.debug(this.getClass().toString(),  "updated result value :"+resultVal);
//        //refresh the map view
//        /*if(Configuration.getInstance().getCurrentContext() instanceof UserMapView){
//            refresh the athlete overlay
//        }*/
//    }
}
